package org.gw.building.interceptor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD })
public @interface RequestPermission {

	public static final int ANONYMOUS = -1;
	public static final int STUDENT = 0;
	public static final int DEPARTMENT = 1;
	public static final int SCHOOL = 2;
	public static final int SYSTEM = 3;

	int[] value();

	int min() default 4;

	int max() default -2;
}
